package com.tianyu.inspection.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**********************************
 * @Author YSW
 * @Description 险情目标类型
 * @Date 2021/1/4 - 17:57
 **********************************/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class DangerType implements Serializable {

    @TableId
    private Integer id;

    /**
     * 险情类型名称
     */
    private String typeName;

    /**
     * 险情类型图标地址
     */
    private String icon;

    /**
     * 数据库记录状态
     */
    @JsonIgnore
    private Integer state;

    @JsonIgnore
    private Date createTime;

    @JsonIgnore
    private Date modifyTime;
}
